--常用别名都在这里面定位
--准备我们自己之前导入的脚本
--字符串拆分
require("SplitTools")
--Json解析
Json = require("JsonUtility")

--Unity相关的
GameObject = CS.UnityEngine.GameObject
Resources = CS.UnityEngine.Resources
Transform = CS.UnityEngine.Transform
Input = CS.UnityEngine.Input
Mathf = CS.UnityEngine.Mathf
RectTransform = CS.UnityEngine.RectTransform
TextAsset = CS.UnityEngine.TextAsset
Time = CS.UnityEngine.Time
--图集对象类
SpriteAtlas = CS.UnityEngine.U2D.SpriteAtlas

Vector3 = CS.UnityEngine.Vector3
Vector2 = CS.UnityEngine.Vector2

--UI相关
UI = CS.UnityEngine.UI
Image = UI.Image
Text = UI.Text
Button = UI.Button
Toggle = UI.Toggle
ScrollRect = UI.ScrollRect
UIBehaviour = CS.UnityEngine.EventSystems.UIBehaviour

--QFrameWork框架相关
AudioKit = CS.QFramework.AudioKit
Sfx = CS.QAssetBundle.Sfx
--ProjectSurvivor相关
Global = CS.ProjectSurvivor.Global
function IsNull(obj)
    if(obj == nil and obj:Equals(nil)) then
        return true
    end
    return false    
end